<template>
  <div class="default-layout">
    <router-view></router-view>
  </div>
</template>
<script setup>
// import NavBar from '@components/layouts/Navbar.vue'
// import Slider from '@components/layouts/Slider.vue'
import { useMenuStore } from '@/pinia/menu'
import { isMobile } from '@/utils/common'
import config from '@/config'

if (isMobile()) {
  // let minHost = config.server.minHost
  // location.href = minHost
}
</script>
<style scoped lang="scss">
.default-layout {
  position: relative;
  width: 100%;
  height: 100%;
}

.wrapper {
  position: fixed;
  left: 200px;
  top: 0;
  right: 0;
  bottom: 0;
  background: #343541;
  transition: all 0.5s;
  overflow-y: auto;
}

.wrapper.expand {
  left: 78px;
}
</style>
